Static Type-checking in Object-Oriented Databases
نویسندگان
چکیده
If a precise definition of object-oriented programming languages is elusive, the confusion surrounding objectoriented databases is even greater. Rather than attempt to give a comprehensive definition of the subject we shall concentrate on a few properties of object-oriented databases that we believe to be of central importance. We want to show that these properties can be concisely captured in a language that has a more-or-less conventional type system for the representation of data, and that achieves its “object-orientedness” by exploiting type inference. The advantage of this approach is that programs are statically checked for type correctness without the programmer having to declare types. By doing this we believe we can eliminate a major source of errors in programming on databases – type errors, which proliferate as the complexity of the database increases. In most object-oriented database systems, type errors are not caught until something goes wrong at run-time, often with disastrous consequences.
منابع مشابه
A Study of Semantics, Types and Languages for Databases and Object-Oriented Programming
The purpose of this thesis is to investigate a type system for databases and object-oriented programming and to design a statically typed programming language for these applications. Such a language should ideally have a static type system that supports: polymorphism and static type inference, rich data structures and operations to represent various data models for databases including the relat...
متن کاملAbstract Object Types for Databases
Object Types for Databases H.-D. Ehrich Informaiik/Datenbanken, Tevhnisehe Universitat, Postfach 3329. D-3300 Braunschweig, FR GERMANY A. Sernadas C. Sernadas Departamento de Matematica, Instituto Superior Teeaieo, 1096 Lisboa, PORTUGAL A b ~ ? ~ There is a need for exploring the theoretical and methodological foundations of database design and development with the intention to achieve provably...
متن کاملEco: A Flexible, Open and Type-Safe Framework for Aspect-Oriented Programming
In this report, we present the Eco aspect-oriented framework for Java. Eco’s main goals are a flexible and open design and allowing static type-checking. Eco realizes its flexibility and openness by employing a pure and well-designed object-oriented approach. Static type-checking is realized by exploiting the novel Java generics feature. In this report, we evaluate Eco with respect to these goa...
متن کاملType Systems of Scripting Languages
Type systems play an important role in the design of programming languages, they prevent programs from having non-correct behavior. Typically, type systems are expressed in two ways, type-checking and type inference. The type information presented on local variables and method arguments makes the difference in choosing one technique rather than the other. Type checking is a derivation type infe...
متن کاملA Type System that Reconsiles Classes and Extents
We present a type system that naturally couples two diierent, and apparently contradictory, notions of inheritance that occur in object-oriented databases. To do this we distinguish between the type and a kind of a value. A type describes the entire structure of a value, while a kind describes only the availability of certain elds or methods. This distinction allows us to manipulate heterogeneo...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- IEEE Data Eng. Bull.
دوره 12 شماره
صفحات -
تاریخ انتشار 1989